import request from '@/utils/request.js'
export function queryArticle(data) {
    return request({
        url: '/article/queryVo',
        method: 'get',
        params: data
    })
}
export function selArticle(data) {
    return request({
        url: '/article/'+data,
        method: 'get',
    })
}
export function delArticle(data) {
    return request({
        url: '/article/'+data,
        method: 'delete',
    })
}
export function addArticle(data) {
    return request({
        url: '/article/add',
        method: 'post',
        data:data
    })
}
export function editArticle(data) {
    return request({
        url: '/article/edit',
        method: 'put',
        data:data
    })
}
